#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from django.http import HttpResponse

def index(request):

    return HttpResponse('这是首页')

def detail(request, id):

    return HttpResponse('这是编号为%s同学的详情页' % id)

def log(request, year, mouth, day):

    return HttpResponse('这是%s年%s月%s日的日志' % (year, mouth, day))